﻿using Vra.Components.Models.Menu;
using Vra.Components.Properties;

namespace Vra.Components.ViewModels.Menu
{
	public class MenuViewModel : BaseViewModel
	{
		private MenuList _menu;
		private MenuItem _item;
		/// <summary>
		/// Список меню
		/// </summary>
		public MenuList Menu
		{
			get { return _menu; }
			set
			{
				_menu = value;
				Raise("Menu");
			}
		}

		/// <summary>
		/// Выделенный элемент меню
		/// </summary>
		public MenuItem SelectedItem
		{
			get { return _item; }
			set
			{
				_item = value;
				Raise("SelectedItem");
			}
		}
	}
}
